{include 'common/header.html'}
<body>
<header>
<ul>
<li><a href="{$this->urlCreate('admin','index')}" style="z-index: 50;">管理主页</a></li>
<li><a href="#" style="z-index: 49;">话题维护</a></li>
</ul>
</header>

<div id="main">
<div id="subtitle">话题维护</div>
<div id="box">
<form action="" method="post" style="display: block;clear: both;">
<label for="title">话题标题</label>
<input type="text" id="title" name="title" style="margin: 1em;display: block;width: 90%;height: 24px;" value="{$topic['title']}" />
<label for="content">话题内容</label>
<textarea name="content" style="display: block;margin: 1em;width: 90%;min-height: 180px;resize: none;overflow: hidden auto;">
{$topic['content']}
</textarea>
<label for="state">状态</label>
<select name="state" style="display: block;">
{foreach $states as $state}
<option value="{$state['num']}">{$state['name']}</option>
{/foreach}
</select>
<span style="display: block;margin: 3px 1em 3px;color: red;">{$tip}</span>
<span style="display: block;margin: 1em;font-size: 0.6em;color: red;">不修改就提交会报错的哦</span>
<input type="submit" name="submit" value="提交" style="margin: 1em;display: block;width: 64px;height: 24px;margin-left: 4em;" />
</form>
</div>
{include 'common/bottom.html'}
</div>
{include 'common/footer.html'}
</body>
</html>